home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / SGI.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  43 lines

  1. /* $Id: sgi.h,v 1.1.1.1 1997/06/01 03:17:12 ralf Exp $
  2.  * sgi.h: Definitions specific to SGI machines.
  3.  *
  4.  * Copyright (C) 1996 David S. Miller (dm@sgi.com)
  5.  */
  6. #ifndef _MIPS_SGI_H
  7. #define _MIPS_SGI_H
  8.  
  9. /* UP=UniProcessor MP=MultiProcessor(capable) */
  10. enum sgi_mach {
  11.     ip4,     /* R2k UP */
  12.     ip5,     /* R2k MP */
  13.     ip6,     /* R3k UP */
  14.     ip7,     /* R3k MP */
  15.     ip9,     /* R3k UP */
  16.     ip12,    /* R3kA UP, Indigo */
  17.     ip15,    /* R3kA MP */
  18.     ip17,    /* R4K UP */
  19.     ip19,    /* R4K MP */
  20.     ip20,    /* R4K UP, Indigo */
  21.     ip21,    /* TFP MP */
  22.     ip22,    /* R4x00 UP, Indigo2 */
  23.     ip25,    /* R10k MP */
  24.     ip26,    /* TFP UP, Indigo2 */
  25.     ip28,    /* R10k UP, Indigo2 */
  26.     ip30,
  27.     ip32,
  28. };
  29.  
  30. extern enum sgi_mach sgimach;
  31. extern void sgi_sysinit(void);
  32.  
  33. /* Many I/O space registers are byte sized and are contained within
  34.  * one byte per word, specifically the MSB, this macro helps out.
  35.  */
  36. #ifdef __MIPSEL__
  37. #define SGI_MSB(regaddr)   (regaddr)
  38. #else
  39. #define SGI_MSB(regaddr)   ((regaddr) | 0x3)
  40. #endif
  41.  
  42. #endif /* !(_MIPS_SGI_H) */
  43.